package com.example.zhu.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class HistoryOrderVO {

    //接单列表
    private List<OrderVOMax> takeOrderList;

    //区域列表
    private List<String> areas;

    //类型
    private Integer type;

    private List<Build> builds;

    //区域类型
    private Integer buildsType;

    //详细信息
    private List<Map<String,Map<String,Map<String,Integer>>>> detail;

    private Map<String,Map<String,Integer>> category;


//    @Data
//    @NoArgsConstructor
//    @AllArgsConstructor
//    @Builder
//    public static class Build{
//        //楼栋
//        private String build;
//        //有效数量
//        private Map<String,Integer> counts;
//        //总数量
//        private Map<String,Integer> totals;
//    }


    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @Builder
    public static class Build{
        //楼栋
        private String build;
        //有效数量
        private Integer counts;
        //总数量
        private Integer totals;
    }

}
